//
//  AppDelegate+AppService.m
//  MyApp
//
//  Created by liaowentao on 17/3/29.
//  Copyright © 2017年 Haochuang. All rights reserved.
//

#import "AppDelegate+AppService.h"
#import "UserDBService.h"

@implementation AppDelegate (AppService)

/**
 *  系统配置
 */
- (void)systemConfigration{
    UserModel *user = [UserDBService getLoginUser];
    if([user.userId length] > 0){
        AccountInfo.userId = user.userId;
        AccountInfo.userName = user.userName;
        AccountInfo.password = user.password;
        AccountInfo.libraryPwd = user.libraryPwd;
        AccountInfo.isLogin = user.isLogin;
    }else{
        AccountInfo.isLogin = NO;
    }
    
    
}

/**
 *  检查更新
 */
- (void)checkAppUpDataWithshowOption:(BOOL)showOption{
    
}

/**
 *  获取用户信息
 */
- (void)getUserData{
    
}

@end
